vcAssemblyPattern
Assembly pattern is a collection of assembly slots, which form a reusable definition of which product types should be placed in which position and orientation in the assembly. Note that assembly patterns can also exist independently from assembly product types.
See in: Overview
Module: vcProcessModel
Parent: vcObject
Children -
Referenced by: vcAssemblyPatternManager.Patterns, vcAssemblyPatternManager.clonePattern(), vcAssemblyPatternManager.createPattern(), vcAssemblyPatternManager.findPattern(), ... (see more)
vcAssemblyPatternManager.Patterns
vcAssemblyPatternManager.clonePattern()
vcAssemblyPatternManager.createPattern()
vcAssemblyPatternManager.findPattern()
vcAssemblyPatternSlot.Pattern
vcAssemblyStep.Pattern
Properties
Learn how to use properties here. The properties are also inherited from the parent class.
| Name | Type | Access | Description |
| Name | String | RW | Gets or sets assembly pattern name. Exceptions: ValueError: When given name is empty or not unique. |
| Properties | vcPropertyContainer | R | Gets the properties of this assembly pattern. |
| Slots | vcObservableList[vcAssemblyPatternSlot] | R | Gets the list of all slots associated with this pattern. |
| UniqueId | String | R | Gets the unique identifier for this assembly pattern. |
Methods
Learn how to use methods here. The methods are also inherited from the parent class.
| Name | Return Type | Parameters | Description |
| cloneSlotFrom | vcAssemblyPatternSlot | vcAssemblyPatternSlot slot, Optional Keyword[index = Integer] | Creates a copy of given slot.See moreParameters: slot (vcAssemblyPatternSlot): The slot to clone. Optional: index (Integer): Index for the slot to be created. If index is specified outside of valid indexes or not specified at all, the slot is appended to the existing ones. Returns: vcAssemblyPatternSlot: The newly created slot. |
| createSlot | vcAssemblyPatternSlot | Optional Keyword[index = Integer] | Creates a new slot.See moreParameters: Optional: index (Integer): Index for the slot to be created. If index is specified outside of valid indexes or not specified at all, the slot is appended to the existing ones. Returns: vcAssemblyPatternSlot: The newly created slot. |
| delete | None | None | Deletes this assembly pattern. |
| findSlot | vcAssemblyPatternSlot | String id | Finds a slot from the pattern with the given Id.See moreParameters: id (String): Unique Id of the slot. Returns: vcAssemblyPatternSlot: The found slot, returns None if nothing was found. |